{% extends 'users/base.html' %}
{% load static %}
{% block link %}
    <link rel="stylesheet" href="{% static 'css/fun/publish.css' %}">
{% endblock %}
{% block title %}
    发布美好瞬间
{% endblock %}
{% block header %}
    {% include 'function/header.html' %}
{% endblock %}
{% block main %}
    <form method="post" enctype="multipart/form-data">
        {% csrf_token %}
        <ul class="form-box">
            {{ form.as_ul }}
            <a>
                <input type="submit" value="立即发布" class="submit-btn">
            </a>
        </ul>
    </form>
{% endblock %}